Transforming event data using remote capture agents and transformation servers

ABSTRACT

The disclosed embodiments provide a method and system for processing network data. During operation, the system obtains, at a remote capture agent, configuration information for the remote capture agent from a configuration server over a network. Next, the system uses the configuration information to configure the generation of event data from network data obtained from network packets at the remote capture agent. The system then uses the configuration information to configure transformation of the event data or the network data into transformed event data at the remote capture agent.

CROSS-REFERENCE TO RELATED APPLICATION

This application claims benefit under 35 U.S.C. § 120 as a continuationof U.S. application Ser. No. 15/709,343, filed Sep. 19, 2017, whichclaims benefit as a continuation of U.S. application. Ser. No.15/582,309, filed Apr. 28, 2017, which claims benefit as a continuationof U.S. application. Ser. No. 14/253,753, filed Apr. 15, 2014, theentire contents of which is hereby incorporated by reference as if fullyset forth herein. The applicant(s) hereby rescind any disclaimer ofclaim scope in the parent application(s) or the prosecution historythereof and advise the USPTO that the claims in this application may bebroader than any claim in the parent application(s).

FIELD OF THE INVENTION

At least certain embodiments of the invention relate generally tocomputer networks, and more particularly to a system configured forcapturing and processing network data across a distributed networkenvironment.

BACKGROUND OF THE INVENTION

Over the past decade, the age of virtualization has triggered a seachange in the world of network data capture. Almost every networkcapture product available today is a physical hardware appliance thatcustomers have to purchase and configure. In addition, most network datacapture technologies are built from scratch to serve a specific purposeand address the needs of a particular vertical market. For example,network capture systems may be customized to extract data for securityand intrusion-detection purposes, collect network performance data,perform Quality of Service (QoS), redirect data, block network traffic,and/or perform other analysis or management of network traffic. Suchtargeted and/or fixed implementation and use of network capturetechnologies may preclude modification of the network capturetechnologies to address different and changing business needs.

Moreover, customers using conventional hardware-based network capturedevices typically connect the devices to other hardware devices in anetwork. The connections may allow the network capture devices to accessthe network and monitor network traffic between two or more points inthe network. Examples of such devices include a network Test AccessPoint (TAP) or Switched Port Analyzer (SPAN) port. After the networktraffic is captured, cumbersome Extraction, Transform, and Load (“ETL”)processes may be performed to filter, transform, and/or aggregate datafrom the network traffic and enable the extraction of business valuefrom the data.

However, customers are moving away from managing physical servers anddata centers and toward public and private cloud computing environmentsthat provide software, hardware, infrastructure, and/or platformresources as hosted services using computing, storage, and/or networkdevices at remote locations. For these customers, it is eitherimpossible, or at best extremely challenging, to deploy physical networkcapture devices and infrastructure in the cloud computing environments.

Consequently, network data capture may be facilitated by mechanisms fordeploying and configuring network capture technology at distributedand/or remote locations.

BRIEF DESCRIPTION OF THE DRAWINGS

For a better understanding of at least certain embodiments, referencewill be made to the following detailed description, which is to be readin conjunction with the accompanying drawings, wherein:

FIG. 1 depicts an example block diagram embodiment of a data processingsystem for capturing and processing network data in a distributednetwork environment;

FIG. 2 depicts an example block diagram embodiment of a remote captureagent;

FIG. 3 depicts an example block diagram embodiment of a configurationserver;

FIG. 4 shows a flowchart illustrating the processing of network data;

FIG. 5 shows a flowchart illustrating the process of facilitating theprocessing of network data;

FIG. 6 shows a flowchart illustrating the process of facilitatingnetwork data capture;

FIG. 7 shows a flowchart illustrating the process of facilitating theprocessing of network data;

FIG. 8 depicts an example screen shot of an embodiment of a graphicalinterface that is adapted to display configurable components within adistributed data capture and processing system;

FIG. 9 depicts an example screen shot of an embodiment of aconfiguration dialog for obtaining configuration information forconfiguring the generation of event data from network data at one ormore remote capture agents;

FIG. 10 depicts an example block diagram of an embodiment of atime-based data storage architecture that includes a late-bindingschema;

FIG. 11 illustrates a flowchart of an example embodiment of a processfor storing collected data in a data storage architecture that includesa late-binding schema;

FIG. 12 illustrates a flowchart of an example embodiment of a processfor generating a query result in a data storage architecture thatincludes a late-binding schema; and

FIG. 13 depicts an example data processing system upon which theembodiments described herein may be implemented.

DETAILED DESCRIPTION

Throughout the description, for the purposes of explanation, numerousspecific details are set forth in order to provide a thoroughunderstanding of the present techniques described herein. It will beapparent to one skilled in the art, however, that the present inventionmay be practiced without some of these specific details. In otherinstances, well-known structures and devices are shown in block diagramform to avoid obscuring the underlying principles of embodiments of theinvention.

1.0. General Overview

1.1. Event-Based Data Storage Systems

Generally, a data-processing system may perform data operations on datastored in one or more data repositories. Depending on the type ofdata-processing system, the data operations may range from simpleoperations such as storing and retrieving the data to more complexoperations such as calculating statistics from the data, or arranging orformatting the data. One example of a data-processing system is arelational database system, in which data is stored in highly structuredtables and accessed through rigid data storage rules (e.g., data storageand retrieval “schemas”). Another example of a data-processing system isa file system, such as a Network File System (NFS) server. Yet anotherexample of a data-processing system is a web application server.

A data-processing system may also include an event-based system, such asthe SPLUNK® ENTERPRISE system produced and sold for on-premise and clouduse by Splunk Inc. of San Francisco, Calif. In some event-based systems,data is derived from lines or rows of unstructured time-series data,such as data from web logs and/or machine logs. Each row and/or group ofrows is generally associated with a timestamp and one or more associateddata points or parameter-value pairs. A timestamp may be any sequence ofcharacters or encoded information that identifies the time at which acertain event s recorded. For example, a timestamp may provide the date,how minute, and/or second at which an application is initialized on acomputer system. Based on the timestamps, data structures representingevents may be derived from the associated data and include some or allof the associated data. A variety of event types may be derived fromsuch data. For example, in the context of web logs, events may bederived from errors, specific user inputs, navigation events, and soforth.

As used herein, the term “events” may refer to anything that occurs andcarries information in an event-based system. Some event-based systemsfeature flexible data storage and retrieval schemas that may beredefined as needed and applied after the associated data is stored in adatabase or other memory structure of the data storage system. Forexample, the schemas may be applied upon receiving a request to performan operation on such data. Such schemas may indicate how to extract oneor more pieces of data from data associated with an event. In addition,in connection-oriented network communications systems, a “data stream”generally refers to a sequence of encoded signals (e.g., in networkpackets) used to transmit or receive information over a network.

1.2. Remote Capture Agent Architecture

One or more embodiments include a network architecture for capturingnetwork data in one or more networks using a configuration serverworking in combination with a set of remote capture agents distributedthroughout the network(s). The remote capture agents may capture networkpackets from multiple sources (e.g., hosts, servers, etc.) and analyzethe network packets to determine the packets' contents. The remotecapture agents may then generate one or more events from the networkpackets and communicate the events to the configuration server over oneor more additional networks.

In one or more embodiments, the configuration server includesconfiguration information used to determine how remote capture agentscapture network data and build events therefrom. The remote captureagents may obtain the configuration information from the configurationserver (e.g., using a push or pull mechanism) and use the configurationinformation to generate event data containing a series of timestampedevents from the network data. The event data may be included in an eventstream that is transmitted to additional network elements within thedistributed network for additional processing and/or storage.

In this manner, both network traffic between the remote capture agentsand other network elements and subsequent processing of the networktraffic by the other network elements may be drastically reduced becausecapturing and pre-processing of the network data may be performed at theremote capture agents. For example, the remote capture agents maytransmit events in lieu of network packets from which the events weregenerated to one or more centralized servers for further processing,indexing, and/or storage.

1.3. Dynamically Configurable Remote Capture Agents

Remote capture agents may be dynamically configured based onconfiguration information stored at the configuration server. Forexample, the remote capture agents may be configured in real-time asevents are processed by the remote capture agents. The remote captureagents may be dynamically configured during runtime with: (1) events (ortypes of events) to be included in event streams for use by othercomponents of the remote capture agent architecture, (2) fields to beincluded in each of the events streams, and (3) additional parametersassociated with generation of the events and/or event streams.

The configuration information may be modified on-demand by users (e.g.,administrators) at the configuration server and/or at a networkcomponent in communication with the configuration server. Theconfiguration information may also be dynamically updated duringprocessing of event streams by one or more applications running onseparate servers in communication with the configuration server, such asone or more data storage servers in communication with the configurationserver. Events may then be generated from the captured network packetsbased on the configuration information and/or any updates to theconfiguration information.

When changes are made to the configuration information at theconfiguration server, logic in the remote capture agents may beautomatically updated in response. In one embodiment, the remote captureagents poll the configuration server at periodic intervals to determineif there have been any changes to the configuration information storedtherein. If changes to the configuration information have been made, theremote capture agents may pull this configuration information from theconfiguration server. Alternatively, changes to the configurationinformation may be pushed from the configuration server to the remotecapture agents at periodic intervals. Such propagation of updates to theconfiguration information to the remote capture agents may allow theremote capture agents to be dynamically configured to store differenttypes of network data in events, generate different types of events,aggregate event data, and/or send event data to other network componentsat different times and/or intervals.

1.4. Transforming Event Data at the Remote Capture Agents

The configuration information may also be used by the remote captureagents to perform higher-level processing of the events beforecommunicating the events to the configuration server. More specifically,the remote capture agents may use some or all of the configurationinformation to transform (e.g., aggregate, process, clean, filter, etc.)events into one or more sets of transformed event data. The remotecapture agents may provide the transformed event data to theconfiguration server and/or other network components, in lieu of or inaddition to the events. The network components may further process thetransformed event data and/or store the transformed event data (e.g., ina data storage server).

In one or more embodiments, some or all of the configuration informationrelated to transforming events is specified by applications running onother servers or systems and communicated to the configuration server.For example, the applications may run on a data-processing system suchas the SPLUNK® ENTERPRISE system. Users may use the applications toperform queries and/or visualizations related to event data from theremote capture agents. The applications may provide the configurationserver with information regarding the events (or types of events) theapplication is adapted to receive, along with information related tosubsequent processing and/or transformation of those events. Theconfiguration server may obtain the information from the applicationsfor propagation to the remote capture agents, and the remote captureagents may use the information to configure or reconfigure the creationand processing of event data accordingly. In one embodiment, theapplications include data storage applications running on a data storageserver to facilitate optimizing data storage and retrieval operations.

1.5. Graphical Interface for Configuring Event Streams

A graphical user interface (GUI) may facilitate the configuration of theremote capture agents and/or other network components in generatingand/or processing event streams containing event data. The GUI mayprovide a visual way to create, manage, and/or process event streamsbased on configuration information associated with each event stream.The GUI may be provided by the configuration server and/or by a networkelement in communication with the configuration server. The GUI maydisplay representations of one or more components associated withcreating and/or processing event streams generated from network traffic.The components may be configured or reconfigured using various iconsand/or other user-interface elements in the GUI.

2.0. Structural Overview

2.1. Operating Environment

The data processing techniques described herein are suitable for use bysystems deployed in a variety of operating environments. FIG. 1 depictsan example block diagram embodiment of a data-processing system 100 forcapturing and processing network data in a distributed networkenvironment. In the illustrated embodiment, system 100 includes a set ofconfiguration servers 120 in communication with a set of remote captureagents 151-153 over one or more networks 190.

Although system 100 only depicts three configuration servers 120 andthree remote capture agents 151-153, any number of configuration servers120 and/or remote capture agents 151-153 may be configured to operateand/or communicate with one another within the data-processing system.For example, a single physical and/or virtual server may perform thefunctions of configuration servers 120. Alternatively, multiple physicaland/or virtual servers or network elements may be logically connected toprovide the functionality of configuration servers 120. Theconfiguration server(s) may direct the activity of multiple distributedremote capture agents 151-153 installed on various client computingdevices across one or more networks. In turn, remote capture agents151-153 may be used to capture network data from multiple remote networkdata sources.

Further, embodiments described herein can be configured to capturenetwork data in a cloud-based environment, such as cloud 140 depicted inthe illustrated embodiment, and to generate events such as clickstreamevents and/or business transactions out of the network data. Remotecapture agents 151-153 may capture network data originating fromnumerous distributed network servers, whether they are physical hardwareservers or virtual machines running in cloud 140. In cloud-basedimplementations, remote capture agents 151-153 will generally only haveaccess to information that is communicated to and received from machinesrunning in the cloud-based environment. This is because, in a cloudenvironment, there is generally no access to any of the physical networkinfrastructure, as cloud computing may utilize a “hosted services”delivery model where the physical network infrastructure is typicallymanaged by a third party.

Embodiments further include the capability to separate the data capturetechnology into a standalone component that can be installed directly onclient servers, which may be physical servers or virtual machinesresiding on a cloud-based network (e.g., cloud 140), and used to captureand generate events for all network traffic that is transmitted in andout of the client servers. This eliminates the need to deploy andconnect physical hardware to network TAPS or SPAN ports, thus allowingusers to configure and change their data capture configurationon-the-fly rather than in fixed formats.

In the illustrated embodiment, remote capture agents 152-153 are incommunication with network servers 130 residing in cloud 140, and remotecapture agent 151 is located in cloud 140. Cloud 140 may represent anynumber of public and private clouds, and is not limited to anyparticular cloud configuration. Network servers 130 residing in cloud140 may be physical servers and/or virtual machines in cloud 140, andnetwork traffic to and from network servers 130 may be monitored byremote capture agent 151 and/or other remote capture agents connected tonetwork servers 130. Further, remote capture agents 152-153 may also runin cloud 140 on physical servers and/or virtual machines. Those skilledin the art will appreciate that any number of remote capture agents maybe included inside or outside of cloud 140.

Remote capture agents 151-153 may analyze network packets received fromthe networks(s) to which remote capture agents 151-153 are connected toobtain network data from the network packets and generate a number ofevents from the network data. For example, each remote capture agent151-153 may listen for network traffic on network interfaces availableto the remote capture agent. Network packets transmitted to and/or fromthe network interfaces may be intercepted by the remote capture agentand analyzed, and relevant network data from the network packets may beused by the remote capture agent to create events related to the networkdata. Such events may be generated by aggregating network data frommultiple network packets, or each event may be generated using thecontents of only one network packet. A sequence of events from a remotecapture agent may then be included in one or more event streams that areprovided to other components of system 100.

Configuration servers 120, data storage servers 135, and/or othernetwork components may receive event data (e.g., event streams) fromremote capture agents 151-153 and further process the event data beforethe event data is stored by data storage servers 135. In the illustratedembodiment, configuration servers 120 may transmit event data to datastorage servers 135 over a network 101 such as a local area network(LAN), wide area network (WAN), personal area network (PAN), virtualprivate network, intranet, mobile phone network (e.g., a cellularnetwork), WiFi network, Ethernet network, and/or other type of networkthat enables communication among computing devices. The event data maybe received over a network (e.g., network 101, network 190) at one ormore event indexers (see FIG. 10) associated with data storage servers135.

In addition, system 100 may include functionality to determine the typesof network data collected and/or processed by each remote capture agent151-153 to avoid data duplication at the indexers, data storage servers135, and/or other components of system 100. For example, remote captureagents 152-153 may process network traffic from the same network.However, remote capture agent 152 may generate page view events from thenetwork traffic, and remote capture agent 153 may generate requestevents (e.g., of HyperText Transfer Protocol (HTTP) requests andresponses) from the network traffic.

In one or more embodiments, configuration servers 120 includeconfiguration information that is used to configure the creation ofevents from network data on remote capture agents 151-153. In addition,such configuration may occur dynamically during event processing (e.g.,at runtime). Conversely, because most conventional network capturetechnologies target specific end uses, they have been designed tooperate in a fixed way and generally cannot be dynamically or easilymodified to address different and changing business needs.

At least certain embodiments described herein are adapted to provide adistributed remote capture platform in which the times at which eventsare communicated to the configuration servers 120 and the fields to beincluded in the events are controlled by way of user-modifiableconfiguration rather than by “hard coding” fixed events withpre-determined fields for a given network capture mechanism. The remoteconfiguration capability described herein also enables additionalin-memory processing (e.g., filtering, transformation, normalization,aggregation, etc.) on events at the point of capture (e.g., remotecapture agents 151-153) before the events are transmitted to othercomponents of system 100.

Configuration information stored at each configuration server 120 may becreated and/or updated manually at the configuration server and/or at anetwork element in communication with the configuration server. Forexample, a user may upload a configuration file containing configurationinformation for a remote capture agent to one or more configurationservers 120 for subsequent propagation to the remote capture agent.Alternatively, the user may use a GUI to provide the configurationinformation, as described in further detail below with respect to FIGS.8-9. The configuration information may further be provided by one ormore applications running on a separate server or network element, suchas data storage servers 135.

Remote capture agents 151-153 may then use the configuration informationto generate events from captured network packets. When changes in theconfiguration information at the configuration server are detected atthe remote capture agents, logic in the remote capture agents may beautomatically reconfigured in response. This means the remote captureagents may be configured dynamically to produce different events,transform the events, and/or communicate event streams to differentcomponents of system 100.

To detect changes in configuration information at configuration servers120, remote capture agents 151-153 may poll configuration servers 120 atperiodic intervals for updates to the configuration information. Theupdates may then be pulled from configuration servers 120 by remotecapture agents 151-153. Conversely, updates to the configurationinformation may be pushed from configuration servers 120 to remotecapture agents 151-153 at periodic intervals and/or when changes to theconfiguration information have been made.

In one embodiment, configuration servers 120 include a list of eventstreams generated by remote capture agents 151-153, as well as theconfiguration information used to generate the event streams at remotecapture agents 151-153. The configuration information may include aunique identifier for each event stream, the types of events to beincluded in the event stream, one or more fields to be included in eachevent, and/or one or more filtering rules for filtering events to beincluded in the event stream. Configuration information for dynamicallymodifying network data capture by remote capture agents (e.g., remotecapture agents 151-153) is described in further detail below withrespect to FIG. 2.

The configuration information may also specify transformations ofnetwork data and/or events into transformed events. Such transformationsmay include, for example, aggregations of network data and/or events,generation of statistics and/or metrics from the network data or events,and/or cleaning and/or filtering of the network data and/or events. Aswith other event streams, event streams containing transformed eventdata may be transmitted from remote capture agents 151-153 toconfiguration servers 120, data storage servers 135, and/or othercomponents of system 100 for further processing, storage, and/or use.

Configuration information associated with transformed events may beobtained from end users and/or applications running on various networkelements that receive the events. For example, an application executingon a data storage server (e.g., data storage servers 135) may providestatistics associated with network usage in cloud 140. To reduceoverhead associated with real-time processing of event data by theapplication into the statistics, the application may provideconfiguration information for generating some or all of the statisticsat one or more remote capture agents (e.g., remote capture agents151-153) connected to cloud 140. The configuration information may betransmitted to configuration servers 120 and subsequently propagated tothe relevant remote capture agents. In turn, the remote capture agentsmay use the configuration information to generate transformed eventscontaining statistics associated with events captured by the remotecapture agents, and the transformed events may be provided to theapplication to enable access to the statistics by users of theapplication without requiring the application to calculate thestatistics at query time.

Such use of distributed remote capture agents 151-153 may offloadprocessing tasks from configuration servers 120 and/or other componentsof system 100 to remote capture agents 120 (e.g., similar toparallelizing a network), while avoiding overloading of client networkservers at remote networks by burdening the client network servers withthe full functionality of configuration servers 120. System 100 mayfurther reduce network traffic between remote capture agents 151-153 andthe other components of system 100 because remote capture agents 120convert a potentially large volume of ra network traffic into a smallervolume of events and further tilter event data as directed by theconfiguration information before transmitting the event data to othercomponents of system 100.

Another advantage is that the work performed by system 100 may bedistributed among multiple remote capture agents 151-153 on one or morenetworks. Remote capture agents 151-153 may occupy small footprints onremote client servers, thus mitigating resource usage by remote captureagents 151-153 on the client servers. For example, remote capture agents151-153 may execute as background processes on physical and/orvirtualized servers. On the other hand, configuration servers 120 mayexecute from one or more centralized locations and/or on one or moresets of dedicated resources because the operation of configurationservers 120 may require significantly more computing resources than theoperation of remote capture agents 151-153.

As depicted in FIG. 1, system 100 further includes one or more datastorage servers 135. Data storage servers 135 may be general orspecial-purpose computers configured to process and manipulate datawithin one or more data repositories. As depicted, data storage servers135 may be coupled to data storage devices 155 using any suitablemechanism, such as a Fiber Channel network, a Serial ATA (SATA) link, aUniversal Serial Bus (USB) connection, an Infiniband link, an Ethernetconnection, and/or other type of interface. Data storage servers 135 canbe configured to communicate input/output (I/O) requests to storagedevices 155. These I/O requests may be communicated via messages inprotocols such as Server Message Block protocol, Network File System(NFS) protocol, Small Computer System Interface (SCSI) protocol, and/orFibre Channel. In response to the requests, data storage servers 135 mayread and write data structures such as data blocks, files, tables,and/or result sets from storage devices 155. In an embodiment, datastorage servers 135 may include some or all of storage devices 155.

Instructions for processing and manipulating data (e.g., event data) maybe executed by data storage servers 135. For example, data storageservers 135 may perform data operations with respect to one or more datarepositories. Data operations supported by these processes may includerelatively simple operations such as adding or retrieving lines or rowsof data from the data storage devices. The supported data operations mayfurther include operations such as filtering the contents of retrieveddata and./or performing transformations (e.g., aggregations,calculations, processing, cleaning, filtering, etc.) of the retrieveddata.

In one or more embodiments, data storage servers 135 and/orconfiguration servers 120 provide one or more transformation serversthat perform additional processing of event data from remote captureagents 151-153. Conversely, one or more configuration servers 120 and/ordata storage servers 135 may be installed within a transformation serverand/or execute independently from transformation servers in thedata-processing system 100. The transformation servers may be used toaggregate, filter, format, query, transform, store, and/or otherwisemanipulate event data, as described in further detail below with respectto FIG. 8.

In another embodiment, data storage servers 135 may constitute one ormore conventional database servers, such as a relational databaseserver. These processes need not necessarily support the entirefunctionality of a database server or operate on conventional databasestructures.

Data repositories accessed by data storage servers 135 may be stored ondata storage devices 155. Data storage devices 155 may be, for instance,non-volatile computer-readable media such as hard disk drives, flash/SSDdrives, non-volatile memory, optical storage devices, disk arrays,storage area network devices, networked-attached storage devices, and/orfile server devices. Storage devices 155 may store the data repositoriesin any suitable underlying form(s), such as disk blocks, filestructures, or database tables. If multiple storage devices 155 are usedin system 100, different portions of a data repository may be stored ondifferent storage devices 155. Optionally, certain storage devices 155may be configured to store some or all portions of a data repositoryredundantly, using any suitable backup or synchronization mechanism(s).

In an embodiment, each storage device 155 is equally accessible to eachdata storage server 135, and thus any data storage server 135 mayperform operations on any data stored within the data repositories. Inother embodiments, each data storage server 135 is assigned to only someor even one of the data storage devices 155, and is only configured toperform operations on data storage device(s) 155 to which it isassigned.

System 100 is only one example of the many types of operatingenvironments in which the techniques described herein may be practiced.Other suitable operating environments may include additional or fewerelements, in varying arrangements. For instance, some or all datastorage servers 135 may be replaced by virtual computing environments(e.g., virtual machines), some or all of which may execute on a singlecomputing device.

System 100 further utilizes data repositories provided by storagedevices 155. The data repositories may include one or more datacollections, and each data collection may be a collection of datastructures having a variety of forms. For example, a data collection mayinclude a collection of time-based event data structures (e.g., one ormore event streams), a group of data rows, a relational database, arelational database table, set of Extended Markup Language (XML)elements, and/or one or more files. Different data collections withinthe same repository may support different data structure types. In anembodiment, a data collection containing of any of the foregoing datastructures is augmented with system-defined or user-defined variablesthat can be updated to describe certain characteristics of the datastored in the data collection. Examples of such variables may includecounters or metrics. In an embodiment, each data collection is storedredundantly on multiple data storage devices 155, and synchronizedtherebetween. In an embodiment, each data collection is found on onlysome or even one of the data storage devices 155.

FIG. 2 depicts an example block diagram embodiment of a remote captureagent 250. In the illustrated embodiment, remote capture agent 250 isadapted to receive configuration information from one or moreconfiguration servers 120 over network 101. Remote capture agent 250 maybe installed at a customer's premises on one or more of the customer'scomputing resources. For example, remote capture agent 250 may beinstalled on a physical server and/or in a virtual computing environment(e.g., virtual machine) that is distributed across one or more physicalmachines.

Remote capture agent 250 includes a network communications component 203configured to communicate with network elements on one or more networks(e.g., network 101) and send and receive network data (e.g., networkpackets) over the network(s). As depicted, network communicationscomponent 203 may communicate with configuration servers 120 overnetwork 101. Network communications component 203 may also communicatewith one or more sources of network data, such as network servers 130 ofFIG. 1.

Network data received at network communications component 203 may becaptured by a capture component 205 coupled with network communicationscomponent 203. Capture component 205 may capture some or all networkdata from network communications component 203. For example, capturecomponent 205 may capture network data based on the sources and/ordestinations of the network data, the types of network data, theprotocol associated with the network data, and/or other characteristicsof the network data.

In addition, the network data may be captured based on configurationinformation stored in a configuration component 204 of remote captureagent 250. As mentioned above, the configuration information may bereceived from configuration servers 120 over network 101. Theconfiguration information may then be used to dynamically configure orreconfigure remote capture agent 250 in real-time. For example, newlyreceived configuration information in configuration component 204 may beused to configure the operation of remote capture agent 250 duringprocessing of events from network data by remote capture agent 250.

To dynamically configure remote capture agent 250, configurationinformation received by configuration component 204 from configurationservers 120 may be provided to other components of remote capture agent250. More specifically, remote capture agent 250 includes an eventsgenerator 207 that receives network data from network data capturecomponent 205 and generates events from the network data based onconfiguration information from configuration component 204.

Using configuration information provided by configuration servers 120,remote capture agent 250 can be instructed to perform any number ofevent-based processing operations. For example, the configurationinformation may specify the generation of event streams associated withnetwork (e.g., HTTP, Simple Mail Transfer Protocol (SMTP), Domain NameSystem (DNS)) transactions, business transactions, errors, alerts,clickstream events, and/or other types of events. The configurationinformation may also describe custom fields to be included in theevents, such as values associated with specific clickstream terms. Theconfiguration information may include additional parameters related tothe generation of event data, such as an interval between consecutiveevents and/or the inclusion of transactions and/or errors matching agiven event in event data for the event.

An events transformer 209 may further use the configuration informationto transform some or all of the network data from capture component 205and/or events from events generator 207 into one or more sets oftransformed events. In one or more embodiments, transformationsperformed by events transformer 209 include aggregating, filtering,cleaning, and/or otherwise processing events from events generator 207.Configuration information for the transformations may thus include anumber of parameters that specify the types of transformations to beperformed, the types of data on which the transformations are to beperformed, and/or the formatting of the transformed data.

For example, configuration information for generating an event streamfrom network data (e.g., at events generator 207) may include thefollowing Javascript Object Notation (JSON) data:

{ “id” : “trans_class”, “name”: “auto-classified transactions”,“streamType” : “trans_class” }

The JSON data may include a unique identifier (e.g., “id”) of“trans_class” for the event stream, a descriptive name (e.g., “name”) of“auto-classified transactions” for the event stream, and an event streamtype (e.g., “streamType”) of “trans_class.” Event data in the eventstream may be identified by the identifier and/or descriptive name. The“trans_class” event stream type may indicate that events in the eventstream represent automatically classified transactions such as userlogins and logouts, shopping cart checkouts, new user signups, and/orfile transfers, with a new event generated per automatically classifiedtransaction. In addition, the event may include a unique identifier forthe classified transaction type, as well as a Uniform ResourceIdentifier (URI) stem, a query string, a host name, and/or a page titlefor the transaction.

In another example, configuration information for performingtransformations on events from events generator 207 (e.g., at eventstransformer 209) may include the following JSON data:

{ ″id″ : ″trans_metrics″, ″name″: ″transaction metrics aggregated byid″, ″streamType″ : ″agg_trans″, ″fields″ : [ { ″name″ : ″sessions″,″desc″ : ″total number of visitor sessions″, ″term″ :″clickstream.new-session″, ″aggType″ : ″sum″ }, { “name″ : ″hits″,″desc″ : ″total number of HTTP transactions″, ″term″ :″clickstream.page-hits″, ″aggType″ : ″sum″ }, { ″name″ : ″cs_bytes″,″desc″ : ″total octets from client to server (ingress)″, ″term″ :″clickstream.cs-bytes″, ″aggType″ : ″sum″ }, { ″name″ : ″sc_bytes″,″desc″ : ″total octets from server to client (egress)″, ″term″ :″clickstream.sc-bytes″, ″aggType″ : ″sum″  },  { ″name″ : ″total_time″,″desc″ : ″total clock time from start to end of the transaction(microsec)″, ″term″ : ″clickstream.page-load″, ″aggType″ : ″sum″  },  {″name″ : ″redirect_time″, ″desc″ : ″total clock time spent processingHTTP redirects (microsec)″, ″term″ : ″clickstream.page-load-redirect″,″aggType″ : ″sum″  },  { ″name″ : ″base_time″, ″desc″ : ″total clocktime spent loading the base HTML file (microsec)″, ″term″ :″clickstream.page-load-base″, ″aggType″ : ″sum″  },  { ″name″ :″content_time″, ″desc″ : ″total clock time spent loading everything else(microsec)″, ″term″ : ″clickstream.page-load-content″, ″aggType″ : ″sum″ },  { ″name″ : ″time_taken″, ″desc″ : ″sum of measurements from startto end of each HTTP transaction (microsec)″, ″term″ :″clickstream.time-taken″, ″aggType″ : ″sum″  },  { ″name″ :″client_rtt_sum″, ″desc″ : ″sum of round trip time measurements betweenclient & agent (microsec)″, ″term″ : ″clickstream.cp-rtt-sum″, ″aggType″: ″sum″  },  { ″name″ : ″client_rtt_count″, ″desc″ : ″count of roundtrip time measurements between client & agent″, ″term″ :″clickstream.cp-rtt-packets″, ″aggType″ : ″sum″  },  { ″name″ :″server_rtt_sum″, ″desc″ : ″sum of round trip time measurements betweenserver & agent (microsec)″, ″term″ : ″clickstream.ps-rtt-sum″, ″aggType″: ″sum″  },  { ″name″ : ″server_rtt_count″, ″desc″ : ″count of roundtrip time measurements between server & agent″, ″term″ :″clickstream.ps-rtt-packets″, ″aggType″ : ″sum″  },  { ″name″ :″refused″, ″desc″ : ″total number of HTTP transactions that were refusedby the server″, ″term″ : ″clickstream.refused″, ″aggType″ : ″sum″  },  {″name″ : ″canceled″, ″desc″ : ″total number of HTTP transactions thatwere canceled by the client″, ″term″ : ″clickstream.canceled″, ″aggType″: ″sum″  },  { ″name″ : ″cached″, ″desc″ : ″total number of HTTPtransactions that had cached responses″, ″term″ : ″clickstream.cached″,″aggType″ : ″sum″ } ] }The JSON data may include a unique identifier (e.g., “id”) of“trans_metrics” for the set of transformed events and a descriptive name(e.g., “name”) of “transaction metrics aggregated by id” for thetransformed events. The JSON data may also provide an event stream type(e.g., “streamType”) of “agg_trans,” indicating that the configurationrelates to transformations that aggregate transactions from other eventdata, such as event data generated using the “trans_class” configurationabove. The JSON data may additionally include a list of custom fields(e.g., “fields”) that specify the types of data to be aggregated, suchas numbers of visitor sessions or HTTP transactions, octets betweenclients and servers, clock times associated with page loads, and/orround-trip time (RTT) measurements between various network components.Each field may include a name (e.g., “name”) for the correspondingaggregation, a description (e.g., “desc”) of the aggregation, aclickstream term (e.g., “term”) representing the data to be aggregated,and an aggregation type (e.g., “aggType”). While the exemplaryconfiguration information above shows an aggregation type of “sum”(e.g., summing of values represented by “term” across all events withinan aggregation interval) for all aggregations, other aggregation typesmay be supported by remote capture agent 250. Such aggregation types mayinclude, for example, a key (e.g., hash) for each set of aggregatedvalues, statistics (e.g., mean, median, variance, standard deviation,minimum value, maximum value, etc.) associated with the aggregatedvalues, a uniqueness count for each unique value within an aggregationinterval, and/or calculations used to aggregate values from two or morefields.

A rules comparison engine 208 in remote capture agent 250 may receiveevents from event generator 207 and compare one or more fields from theevents to a set of filtering rules in the configuration information todetermine whether to include the events in an event stream. For example,the configuration information may specify packet-level, protocol-level,and/or application-level filtering of event data from event streamsgenerated by remote capture agent 250.

Finally, a data enrichment component 211 may further transform eventdata to a different form or format based on the configurationinformation from configuration component 204. For example, dataenrichment component 211 may use the configuration information tonormalize the data so that multiple representations of the same value(e.g., timestamps, measurements, etc.) are converted into the same valuein transformed event data.

Data can be transformed by data enrichment component 211 in any numberof ways. For example, remote capture agent 250 may reside on a clientserver in Cupertino, California, where all the laptops associated withthe client server have been registered with the hostname of the clientserver. Remote capture agent 250 may use the registration data to lookup an Internet Protocol (IP) address in a look-up table (LUT) that isassociated with one or more network elements of the client server'slocal network. Remote capture agent 250 may then resolve a user's IPaddress into the name of the user's laptop, thereby enabling inclusionof the user's laptop name in transformed event data associated with theIP address. The transformed event data may then be communicated toconfiguration servers 120 and/or a central transformation serverresiding in San Francisco for further processing, indexing, and/orstorage.

A further advantage of the techniques described herein includes relatesto the transformation of network data at least at two distinct levels,including at the remote capture agents during generation of the eventsand at the configuration server and/or other components duringsubsequent processing of event data. FIG. 3 depicts an example blockdiagram embodiment of a configuration server 320. As shown in theillustrated embodiment, configuration server 320 is in communicationwith multiple remote capture agents 350 over network 190, and remotecapture agents 350 are distributed throughout network 190 and cloud 140.Configuration server 320 includes a network communications component 303that receives events from remote capture agents 350 over networks 190and/or 140. Communications component 303 may also communicate with oneor more data storage servers, such as data storage servers 135 of FIG.1.

Configuration server 320 also includes a configuration component 304that stores configuration information for remote capture agents 350. Asdescribed above, the configuration information may specify the types ofevents to produce, data to be included in the events, and/ortransformations to be applied to the data and/or events to producetransformed events. Some or all of the transformations may be specifiedin a set of filtering rules 321 that may be applied to event data atremote capture agents 350 to determine a subset of the event data to beincluded in one or more event streams that are sent to configurationserver 320 and/or other components.

Configuration server 320 also includes a data processing component 311that performs additional processing of the event streams based onconfiguration information from configuration component 304. As discussedin the above example with respect to FIG. 2, event data may betransformed at a remote capture agent (e.g., remote capture agent 250)during resolution of the user's IP address was into the name of theuser's laptop. The transformed event data may be sent to configurationserver 320 and/or a transformation server for additional processingand/or transformation, such as taking the host name from the transformedevent data, using an additional LUT to obtain a user identifier (userID) of the person to which the laptop is registered, and furthertransforming the event data by including the user ID in the event databefore forwarding the event data to a third server (e.g., atransformation server) for another round of processing.

Configuration server 320 may also provide a GUI 325 that can be used toconfigure or reconfigure the information contained in configurationcomponent 304. The operation of GUI 325 is discussed in further detailbelow with respect to FIGS. 7-9.

3.0. Functional Overview

3.1. Remote Capture Agent Architecture

The techniques described in this section can be performed by the dataprocessing system for capturing and processing network data in adistributed network environment as shown in FIG. 1. FIG. 4 shows aflowchart illustrating the processing of network data. Morespecifically, FIG. 4 shows a flowchart of network data capture andprocessing in accordance with the disclosed embodiments. In one or moreembodiments, one or more of the steps may be omitted, repeated, and/orperformed in a different order. Accordingly, the specific arrangement ofsteps shown in FIG. 4 should not be construed as limiting the scope ofthe embodiments.

Initially, one or more event streams are obtained from one or moreremote capture agents on one or more networks (operation 402). The eventstreams may include event data that is generated from network data(e.g., network packets) captured by the remote capture agent(s) on thenetwork(s). For example, the event streams may include a series ofsequentially timestamped events, with each event generated from data inone or more network packets related to the event. As a result, eventdata for the event may include information such as an identifier, atransaction type (e.g., for an HTTP transaction and/or businesstransaction), a timestamp, and/or any errors associated with the event.In addition, the event data may be associated with (e.g., represent)clickstream data, transactions, business transactions, errors, and/oralerts.

The event streams may additionally include transformed event datagenerated from the network data and/or event data by the remote captureagent(s). For example, the event streams may include transformed eventdata that is obtained by performing aggregations, calculations,filtering, normalization, and/or formatting of the network data and/orevent data at the remote capture agent(s).

Next, one or more transformations are applied to the event stream(s) toobtain transformed event data from the event data (operation 404). Aswith any transformations already applied at the remote capture agent(s),the transformation(s) may include aggregations, calculations, filtering,normalization, and/or formatting of the network data and/or event dataat the remote capture agent(s). Moreover, the transformation(s) may beapplied on top of previous transformations performed by the remotecapture agent(s), so that one round of transformations may initially beapplied at the remote capture agent(s) during generation of the eventstreams and another round after the event streams are received from theremote capture agent(s). Such transformation(s) may be performed by oneor more reactors on one or more transformation servers, as described infurther detail below with respect to FIG. 7.

The transformation(s) may also be used to store the event data and/ortransformed event data (operation 406). For example, thetransformation(s) may be used to store the event data and/or transformedevent data in a database and/or log file. Finally, querying of thetransformed event data is enabled (operation 408). For example, thetransformed event data may be indexed, and queries may be executed onthe indexed, transformed event data. The queries may further beperformed in parallel on different subsets of the transformed eventdata. For example, a set of indexers may be used to index mutuallyexclusive time spans of the transformed event data and query thetransformed event data using a map-reduce technique that operates on thetime spans in parallel, as described in further detail below withrespect to FIGS. 10-12.

Similarly, capturing of the network data may be divided among the remotecapture agents to avoid data duplication. In addition, the remotecapture agents may execute in and/or capture the network data from oneor more virtual machines running in a cloud-based environment. Thisavoids the necessity of using a network TAP or SPAN port connection foraccess to and/or capturing of network data from physical networkinfrastructure.

3.2. Dynamically Configurable Remote Capture Agents for CapturingNetwork Data

FIG. 5 shows a flowchart illustrating the process of facilitating theprocessing of network data. More specifically, FIG. 5 shows a flowchartof configuring a remote capture agent in accordance with the disclosedembodiments. In one or more embodiments, one or more of the steps may beomitted, repeated, and/or performed in a different order. Accordingly,the specific arrangement of steps shown in FIG. 5 should not beconstrued as limiting the scope of the embodiments.

First, configuration information for a remote capture agent is obtainedat the remote capture agent from a configuration server (operation 502).The remote capture agent may be located on a separate network from thatof the configuration server. For example, the remote capture agent maybe installed on a physical and/or virtual machine on a remote networkand/or cloud. As discussed above, the remote capture agent and otherremote capture agents may be used to capture network data from a set ofremote networks in a distributed manner. The captured network data maythen be converted into event data that is included in a number of eventstreams by the remote capture agent(s). For example, a remote captureagent may generate an event to be included in an event stream byidentifying one or more network packets associated with a packet andusing the network data from the network packet(s) to generate event datacorresponding to the event.

The configuration information may include a unique numeric or stringidentifier for each event stream to be generated by the remote captureagent. The configuration information may also include a descriptionand/or a descriptive name of the event stream. The configurationinformation may further specify an event stream type that identifies thetype of event data (e.g., clickstream events, HTTP transactions,business transactions, errors, alerts, classified transactions, etc.) tobe included in the event stream. Finally, the configuration informationmay include a list of custom fields (e.g., for including specific piecesof network data in the events) and/or one or more additional parametersassociated with generating the event data (e.g., time interval betweenevents, maximum number of cached and/or aggregated events, inclusion ofmatching transactions or errors in the event data, types of events usedby the event stream, etc.).

Next, the configuration information is used to configure the generationof event data from network data (e.g., from network packets) at theremote capture agent (operation 504). For example, the configurationinformation may be used to configure the remote capture agent toidentify certain types of network packets, extract network data from thenetwork packets, and/or include the network data in the event data. Theconfiguration information may also be used to configure thetransformation of event data or network data into transformed event dataat the remote capture agent (operation 506).

For example, the configuration information may specify that the eventdata and/or network data be aggregated into a sum, statistic (e.g.,mean, median, minimum, maximum, etc.), and/or uniqueness count (e.g.,number of times a unique value is found in an aggregation interval). Toaggregate the event data and/or network data, a time interval associatedwith aggregation of the event data and/or network data may be obtained,and the event data and/or network data within the time interval may beaggregated into an event count, statistic, and/or uniqueness count. Theconfiguration information may also specify a calculation (e.g.,mathematical function, mathematical formula, etc.) to be performed onthe network data and/or event data to produce the transformed eventdata. The configuration information may further provide a filter (e.g.,regular expression, range of values, exact value, etc.) for removing asubset of the event data and/or network data to produce the transformedevent data. The configuration information may additionally specify anormalization that is used to transform different representations of thesame value (e.g., timestamp, host name, resource name, location, etc.)into the same normalized value. Finally, the configuration informationmay provide a formatting that may be applied to the event data and/ornetwork data to generate transformed event data that adheres to aspecific format.

After the remote capture agent is configured, one or more event streamscontaining the event data and/or transformed event data from the remotecapture agent are provided to one or more transformation servers forfurther transformation of the event data and/or transformed event databy the transformation server(s) (operation 508). For example, the eventstream(s) may be transmitted over one or more networks to thetransformation server(s), and the transformation server(s) may performadditional aggregations, calculations, filtering, normalization, and/orformatting associated with the event data and/or transformed event data.

An update to the configuration information may be received (operation512) by the remote capture agent. For example, the update may bedetected by the remote capture agent after polling the configurationserver and determining that the version of configuration information atthe configuration server is newer than the version at the remote captureagent. The remote capture agent may then pull the update from theconfiguration server. Alternatively, the update may be pushed from theconfiguration server to the remote capture agent. If no update isreceived, the remote capture agent may continue to be used (operation516) to capture network data as-is.

If an update to the configuration information is received, the update isused to reconfigure the generation and/or transformation of event dataand/or network data at the remote capture agent during runtime of theremote capture agent (operation 514). For example, the remote captureagent may be reconfigured to generate and/or transform the event dataand/or network data while the remote capture agent continues to generateevent streams containing event data and/or network data according to theold configuration.

The remote capture agent may continue to be used (operation 516) tocapture network data with or without reconfiguring the remote captureagent using updates to the configuration information. If the remotecapture agent is to be used, one or more event streams from the remotecapture agent are continually provided to one or more transformationservers for further transformation by the transformation server(s)(operation 508), and any updates to the configuration information areused to reconfigure the operation of the remote capture agent(operations 512-514) during generation of the event stream(s). Captureof network data by the remote capture agent may continue until theremote capture agent is no longer used to generate event data and/ortransformed event data from network data at the network to which theremote capture agent is connected.

In one or more embodiments, some or all of the configuration informationis provided to the configuration server by an application used to accessthe transformed event data. The application may be designed around oneor more specific use cases associated with network data captured by theremote capture agent, such as managing virtual machines, assessingnetwork security, performing web analytics, and/or managing webapplication performance. The application may also execute on the SPLUNK®ENTERPRISE platform and have access to both the configuration server andevent data generated by the remote capture agent.

To offload processing of the event data at the application (e.g., duringreal-time querying and/or visualization of the event data), theapplication may provide configuration information for performing theprocessing at the remote capture agent to the configuration server, andthe configuration server may propagate the configuration information tothe remote capture agent. In turn, the remote capture agent may use theconfiguration to perform the processing as the event data is generatedand/or transformed instead of requiring the application to performsignificant processing the event data in real-time. In other words,subsequent real-time processing of event data by the application and theassociated overhead associated with such processing may be reduced byproviding configuration information that causes the remote capture agentto transform event data into a form that can be used by the application.

This may integrate better with a late-binding schema, such as thelate-binding schema implemented by Splunk Inc. of San Francisco, Calif.,because significant resources may be required to aggregate, format,and/or otherwise transform event data and extract fields at run-time.The term “late-binding schema” refers to a system, such as SPLUNK®ENTERPRISE, where the schema need not be defined at index time, as withdatabase technology. Rather, in a system involving late-binding schema,the schema can be developed on an ongoing basis up until a query, duringexecution, applies (binds) the schema to data to evaluate the data. As auser learns more about the data in stored events, in a late-bindingschema, he/she can continue to develop the schema up until the next timeit is needed for a query. Because SPLUNK® ENTERPRISE maintains theunderlying raw data and enables application of a late-binding schema,SPLUNK® ENTERPRISE may have greater capability to enable deepexploration of the data to solve problems reflected in the data andanswer questions about the data than conventional databases ordata-processing systems that merely store summaries or portions of data.

For example, a security application monitoring login attempts on a webapplication may use incorrect password entries by users during the loginattempts to assess the security of the web application. The securityapplication may provide configuration information for generating eventdata corresponding to login failures, with the event data containingusernames, IP addresses, timestamps, and/or passwords entered for thelogin failures. Because the security application may receive events onlywhen failed login attempts occur, the security application may not berequired to filter the event data for failed login attempts.

Continuing with the above example, the configuration information mayspecify the aggregationof failed login attempts into failed loginattempts per minute. Thus, instead of receiving an event every time afailed login attempt occurs, the security application may receive eventdata every minute that indicates the number of failed login attempts forthe last minute.

3.3. Operation of Configuration Server

FIG. 6 shows a flowchart illustrating the process of facilitating datacapture. In particular, FIG. 6 shows a flowchart illustrating theprocess of operating a configuration server in accordance with thedisclosed embodiments. In one or more embodiments, one or more of thesteps may be omitted, repeated, and/or performed in a different order.Accordingly, the specific arrangement of steps shown in FIG. 6 shouldnot be construed as limiting the scope of the embodiments.

First, configuration information for a set of remote capture agents on aset of networks is obtained at the configuration server (operation 602),The configuration information may be obtained from a user e..g, anadministrator) and/or an application used to access event data generatedby the remote capture agents. Next, the configuration server is used toprovide the configuration information to the remote capture agents(operation 604). For example, the configuration server may use a pushand/or pull mechanism to transmit the configuration information to theremote capture agents. The configuration information may then be used bythe remote capture agents to configure the generation and/ortransformation of event data, as described above.

An update to the configuration information may be obtained (operation606). For example, an update to the configuration information may beobtained to enable the generation of new event streams at one or more ofthe remote capture agents for use with one or more new use casesassociated with network data capture by the remote capture agent(s). Ifan update to the configuration information is obtained, theconfiguration server is used to provide the update to the remote captureagents (operation 608), and the update is used to reconfigure thegeneration and/or transformation of the event data at the remote captureagents during runtime of the remote capture agents. If no update isreceived, no additional configuration information may be transmittedbetween the configuration server and remote capture agents.

The remote capture agents may continue to be configured (operation 610)using configuration information from the configuration server. If theremote capture agents are to be configured using the configurationserver, any updates to the configuration information are transmittedfrom the configuration server to the remote capture agents (operation606-608) to enable reconfiguration of the remote capture agents. Suchtransmission of updates to the configuration information to the remotecapture agents may continue until the configuration server is no longerused to dynamically configure the remote capture agents.

3.4. GUI for Configuring Event Streams

FIG. 7 shows a flowchart illustrating the process of facilitating theprocessing of data. More specifically, FIG. 7 shows a flowchart of usinga GUI to obtain configuration information for managing event streams inaccordance with the disclosed embodiments. In one or more embodiments,one or more of the steps may be omitted, repeated, and/or performed in adifferent order. Accordingly, the specific arrangement of steps shown inFIG. 5 should not be construed as limiting the scope of the embodiments.

Initially, the GUI is provided for obtainining configuration informationfor configuring the generation of event data from network data obtainedfrom network packets at one or more remote capture agents (operation702). The configuration information may be obtained using aconfiguration dialog of the GUI, as discussed in further detail belowwith respect to FIG. 9.

Next, use of the GUI in configuring the connection of one or more eventstreams containing the event data to one or more reactors for subsequentprocessing of the event data by the reactor(s) is enabled (operation704). For example, graphical representations of the event stream(s) andreactor(s) may be displayed in the GUI, and directed edges forconnecting the graphical representations may be provided by the GUI. Adirected edge from one component (e.g., event stream or reactor) toanother may thus represent the passing of output from the component asinput to the second component. Using GUIs to connect event streams andreactors is described in further detail below with respect to FIG. 8.

Use of the GUI in configuring the subsequent processing of the eventdata by the reactor(s) is also enabled (operation 706). For example, theGUI may provide a separate configuration dialog for configuring eachtype of reactor used to process event streams. Finally, theconfiguration information is provided to the remote capture agent(s),where the configuration information is used to configure the generationof the event data at the remote capture agent(s) during runtime of theremote capture agent(s).

In one or more embodiments, reactors are provided by one or moretransformation servers that transform the event data after the eventdata is created and/or initially transformed at the remote captureagent(s). As noted above, configuration servers may be transformationservers. Alternatively, a configuration server may be included within atransformation server and/or execute independently from thetransformation server. The reactors may include collection reactors thatcollect event and/or network data, processing reactors that processevent and/or network data, and/or storage reactors that store eventand/or network data. Within the GUI, the reactors may be represented byicons and/or other user-interface elements that may be selected toconfigure the operation of the reactors.

FIG. 8 depicts an example screen shot of an embodiment of a GUI 800 thatis adapted to display configurable components within a distributed datacapture and processing system. GUI 800 may be provided by aconfiguration server, such as configuration servers 120 of FIG. 1.

In the illustrated embodiment, GUI 800 includes two stream icons 801 and802 that correspond to graphical representations of two event streams.Icon 801 is connected to a filter reactor icon 803 using a directededge, which is further connected to a python reactor icon 806 usinganother directed edge. Filter reactor icon 803 may be a graphicalrepresentation of a filter reactor that filters event streams providedas input to the filter reactor according to one or more filtering rules(e.g., regular expressions, network data types, event types, time spans,etc.) and outputs the filtered event streams. Python reactor icon 806may be a graphical representation of a python reactor that creates,processes, or stores events using the Python programming language. As aresult, event data from the event stream represented by stream icon 801may be filtered by the filter reactor before being processed by thepython reactor.

Another series of directed edges in GUI 800 may connect stream icon 802to a cleansing transformation reactor icon 804, which in turn isconnected to both a filter reactor icon 805 and an aggregator reactoricon 807. Cleansing transformation reactor icon 804 may be a graphicalrepresentation of a cleansing transformation reactor that normalizesdifferent representations of the same value into the same normalizedvalue. For example, the cleansing transformation reactor may convertdifferent timestamp formats into the same normalized timestamp format.Aggregator reactor icon 807 may be a graphical representation of anaggregator reactor that aggregates event data for multiple eventsreceived during a time interval and produces new events representing theaggregated information. The new events may include event counts,statistics, and/or uniqueness counts related to the aggregatedinformation. For example, the aggregated event data may include totalpage views, average numbers of requests, minimum RTT, and/or counts ofrequests for uniquely named resources.

Other examples of reactors usable with the techniques described hereininclude:

Collection Reactors

-   -   LoglnputReactor: Uses a Codec to store events into log files.    -   SnifferReactor: Passively sniffs network packets, reassembles        TCP and decrypts SSL/TLS. Protocol plugins allow you to generate        events from any type of network traffic.

Processing Reactors

-   -   AggregateReactor: Aggregates information across multiple events        received during an interval of time. Produces new events        representing the aggregated information. Can also store        historical information into external database tables and produce        real-time reports.    -   ClickstreamReactor: Sessionizes a stream of HTTP request events        (or clickstream hits) by grouping them into page views and        sessionizes. Appends additional session attributes to the        request events and produces two new types of events, one each        for page views and sessions.    -   ContentHashReactor: Performs a hashing algorithm on a content        field and uses the result to populate field. This Reactor        controls which content is stored in the Stream Replay database.    -   FilterReactor: Uses configurable rules to detect new events,        sequences or patterns. Delivers events to the reactors it is        connected to only when these occur.    -   FissionReactor: Used to generate multiple events derived from a        single source event. Primarily used to extract RSS and Atom        content from individual HTTP requests.    -   PythonReactor: The PythonReactor allows you to build        fully-featured Reactors that can create, process, or store        events using the Python programming language.    -   ScriptReactor: Executes a shell script to process each event it        receives.    -   SessionFilterReactor: Uses rules to detect patterns within        visitor sessions. Events for a session are queued in memory        until a match is found. If a match is found, all the session's        events are passed through as output to other Reactors. If no        match is found, the events are discarded.    -   SQLReactor: Uses Database plugins to perform real-time SQL        queries derived from the events that it receives. The results of        the queries can be used to add additional information to the        original event.    -   TransformReactor: Creates new events which are derived from the        events that it receives. This can be used to create entirely new        types of complex events (for example, to signify that a pattern        has been detected), or to derive new attributes which are based        on attributes in existing events (i.e. assign a new attribute to        “Internet Explorer” if an existing attribute contains “MSIE”).

Storage Reactors

-   -   DatabaseOutputReactor: Stores events directly into database        tables using Database plugins    -   GoogleAnalyticsReactor: Replicates website page tags by        delivering real-time clickstream events to Google Analytics        using their HTTP interface.    -   HTTPOutputReactor: Converts incoming events into HTTP requests.    -   LogOutputReactor: Uses a Codec to store events into log files.    -   MultiDatabaseReactor: Stores events into a collection of        partitioned database tables. Used by Stream Replay to store        traffic into an embedded database.    -   OmnitureAnalyticsReactor: Replicates website page tags by        delivering real-time clickstream events to Omniture using their        XML/HTTP data insertion API.    -   UnicaAnalyticsReactor: Replicates website page tags by        delivering real-time clickstream events to Webtrends Analytics        using their On Demand HTTP API.    -   WebtrendsReactors: Replicates website page tags by delivering        real-time clickstream events to Webtrends Analytics using their        On Demand HTTP API.

GUI 800 may thus provide a visual mechanism for configuring eventstreams that are generated from network traffic. Users may connectgraphical representations of event streams and reactors to allowfiltering, cleaning, aggregating, transforming, and/or other processingof events in the event streams. Output from the reactors may then beprovided to other reactors using connections (e.g., directed edges)specified in GUI 800 for further processing.

In addition, selecting (e.g., double-clicking) on stream icons 801-802may invoke the configuration dialog for the corresponding event stream,which allows users to configure the generation of event data in theevent stream. FIG. 9 depicts an example screen shot of an embodiment ofa configuration dialog 901 for obtaining configuration information forconfiguring the generation of event data from network data at one ormore remote capture agents.

In the illustrated embodiment, configuration dialog 901 includes asection 902 for specifying a descriptive stream name (e.g., “Home PageRequests”) and an event type (e.g., “clickstream.http-event”) associatedwith the event stream. Another section 903 may be used to provide terms(e.g., for clickstream data) to be included in event data the eventstream. For example, section 903 may display a list of terms (e.g.,“clickestream.c-ip,” “clickstream.host,” “clickstream.uri-stem”) to beincluded in the event data, as well as a mechanism 904 for adding a newterm to the list.

Configuration dialog 901 further includes a section 905 that enables thedefinition of one or more filtering rules. For example, section 905 mayinclude a filtering rule that requires an exact match between a URI stemof an event and the value “/index.html.” Section 905 may also include amechanism 906 for adding new filtering rules for the event stream.

4.0. Implementation Mechanisms

4.1. Exemplary Systems for Storing and Retrieving Events

As noted above, the visualization techniques described herein can beapplied to a variety of types of events, including those generated andused in SPLUNK® ENTERPRISE. Further details of underlying architectureof SPLUNK® ENTERPRISE are now provided. FIG. 10 depicts an example blockdiagram of an embodiment of a time-based data storage architecture thatincludes a late-binding schema.

Generally, the system includes one or more forwarders 1010 that collectdata from a variety of different data sources 1005 and forwards the datausing forwarders 1010 to one or more data indexers 1015. In oneembodiment, forwarders 1010 and indexers 1015 can be implemented in oneor more hardware servers. Moreover, the functionality of one or moreforwarders 1010 may be implemented by one or more remote capture agents(e.g., remote capture agents 151-153 of FIG. 1) and/or transformationservers. For example, event data from a set of remote capture agents maybe sent over a network to a set of transformation servers and/orreactors (e.g., collection reactors, processing reactors, storagereactors) that implement the indexing, storage and queryingfunctionality of SPLUNK® ENTERPRISE. The data typically includes streamsof time-series data. Time-series data refers to any data that can beassociated with a time stamp. The data can be structured, unstructured,or semi-structured and come from files or directories. Unstructured datamay be data that is not organized to facilitate extraction of values forfields from the data, as is often the case with machine data and weblogs. The data indexers 1015 may provide the time-stamped data forstorage in one or more data stores 1020.

FIG. 11 illustrates a flowchart of an example embodiment of a processfor storing collected data in a data storage architecture that includesa late-binding schema. FIG. 11 depicts a process that indexers 1015 mayuse to process, index, and store data received from the forwarders 1010.At operation 1105, an indexer 1015 receives data from a forwarder 1010.At operation 1110, the data is segmented into events. The events can bebroken at event boundaries, which can include character combinationsand/or line breaks. In some instances, the software discovers eventboundaries automatically, and in other instances the event boundariesmay be configured by the user. A time stamp is determined for each eventat operation 1115. The time stamp can be determined by extracting thetime from data in an event or by interpolating the time based on timestamps from other events. In alternative embodiments, a time stamp maybe determined from the time the data was received or generated. The timestamp is associated with each event at operation 1120. For example, thetime stamp may be stored as metadata for the event.

At operation 1125, the data included in a given event may betransformed. Such a transformation can include such things as removingpart of an event (e.g., a portion used to define event boundaries) orremoving redundant portions of an event. A client data processing systemmay specify a portion to remove using a regular expression or anysimilar method.

Optionally, a keyword index can be built to facilitate fast keywordsearching of events. To build such an index, in operation 1130, a set ofkeywords contained in the events is identified. At operation 1135, eachidentified keyword is included in an index, which associates with eachstored keyword pointers to each event containing that keyword (orlocations within events where that keyword is found). When akeyword-based query is received by an indexer, the indexer may thenconsult this index to quickly find those events containing the keywordwithout having to examine again each individual event, thereby greatlyaccelerating keyword searches.

The events are stored in a data store at operation 1140. The data can bestored in working, short-term and/or long-term memory in a mannerretrievable by query. The time stamp may be stored along with each eventto help optimize searching the events by time range.

In some instances, the data store includes a plurality of individualstorage buckets, each corresponding to a time range. An event can thenbe stored in a bucket associated with a time range inclusive of theevent's time stamp. This not only optimizes time based searches, but itcan allow events with recent time stamps that may have a higherlikelihood of being accessed to be stored at preferable memory locationsthat lend to quicker subsequent retrieval (such as flash memory insteadof hard-drive memory).

As shown in FIG. 10, data stores 1020 may be distributed across multipleindexers, each responsible for storing and searching a subset of theevents generated by the system. By distributing the time-based bucketsamong them, the indexers may find events responsive to a query from asearch engine 1025 in parallel using map-reduce techniques, eachreturning their partial responses to the query to a search head thatcombines the results together to answer the query. This query handlingis illustrated in FIG. 12.

FIG. 12 illustrates a flowchart of an example embodiment of a processfor generating a query result in a data storage architecture thatincludes a late-binding schema. At operation 1205, a search heardreceives a query from a search engine. At operation 1210, the searchhead distributes the query to one or more distributed indexers. Theseindexers can include those with access to data stores having eventsresponsive to the query. For example, the indexers can include thosewith access to events with time stamps within part or all of a timeperiod identified in the query. At operation 1215, each of one or moreindexers to which the query was distributed searches its data store forevents responsive to the query. To determine events responsive to thequery, a searching indexer finds events specified by the criteria in thequery. This criteria can include that the events have particularkeywords or contain a specified value or values for a specified field orfields (because this employs a late-binding schema, extraction of valuesfrom events to determine those that meet the specified criteria occursat the time this query is processed).

It should be appreciated that, to achieve high availability and toprovide for disaster recovery, events may be replicated in multiple datastores, in which case indexers with access to the redundant events wouldnot respond to the query by processing the redundant events. Theindexers 1015 may either stream the relevant events back to the searchhead or use the events to calculate a partial result responsive to thequery and send the partial result back to the search head. At operation1220, the search head combines all the partial results or eventsreceived from the parallel processing together to determine a finalresult responsive to the query.

Data intake and query system 145 and the processes described withrespect to FIGS. 10-12 are further discussed and elaborated upon inCarasso, David. Exploring Splunk Search Processing Language (SPL) Primerand Cookbook. New York: CITO Research, 2012 and in Ledion Bitincka,Archana Ganapathi, Stephen Sorkin, and Steve Zhang. Optimizing dataanalysis with a semi-structured time series database. In SLAML, 2010.Each of these references is hereby incorporated by reference in itsentirety for all purposes.

4.2. Hardware Overview

FIG. 13 depicts an example data processing system upon which theembodiments described herein may be implemented. As shown in FIG. 13,the data processing system 1301 includes a system bus 1302, which iscoupled to a processor 1303, a Read-Only Memory (“ROM”) 1307, a RandomAccess Memory (“RAM”) 1305, as well as other nonvolatile memory 1306,e.g., a hard drive. In the illustrated embodiment, processor 1303 iscoupled to a cache memory 1304. System bus 1302 can be adapted tointerconnect these various components together and also interconnectcomponents 1303, 1307, 1305, and 1306 to a display controller anddisplay device 1308, and to peripheral devices such as input/output(“I/O”) devices 1310. Types of I/O devices can include keyboards,modems, network interfaces, printers, scanners, video cameras, or otherdevices well known in the art. Typically, I/O devices 1310 are coupledto the system bus 1302 through I/O controllers 1309. In one embodimentthe I/O controller 1309 includes a Universal Serial Bus (“USB”) adapterfor controlling USB peripherals or other type of bus adapter.

RAM 1305 can be implemented as dynamic RAM (“DRAM”), which requirespower continually in order to refresh or maintain the data in thememory. The other nonvolatile memory 1306 can be a magnetic hard drive,magnetic optical drive, optical drive, DVD RAM, or other type of memorysystem that maintains data after power is removed from the system. WhileFIG. 13 shows that nonvolatile memory 1306 as a local device coupledwith the rest of the components in the data processing system, it willbe appreciated by skilled artisans that the described techniques may usea nonvolatile memory remote from the system, such as a network storagedevice coupled with the data processing system through a networkinterface such as a modem or Ethernet interface (not shown).

5.0. Extensions and Alternatives

With these embodiments in mind, it will be apparent from thisdescription that aspects of the described techniques may be embodied, atleast in part, in software, hardware, firmware, or any combinationthereof. It should also be understood that embodiments can employvarious computer-implemented functions involving data stored in acomputer system. The techniques may be carried out in a computer systemor other data processing system in response executing sequences ofinstructions stored in memory. In various embodiments, hardwiredcircuitry may be used independently or in combination with softwareinstructions to implement these techniques. For instance, the describedfunctionality may be performed by specific hardware componentscontaining hardwired logic for performing operations, or by anycombination of custom hardware components and programmed computercomponents. The techniques described herein are not limited to anyspecific combination of hardware circuitry and software.

Embodiments herein may also be implemented in computer-readableinstructions stored on an article of manufacture referred to as acomputer-readable medium, which is adapted to store data that canthereafter be read and processed by a computer. Computer-readable mediais adapted to store these computer instructions, which when executed bya computer or other data processing system such as data processingsystem 1300, are adapted to cause the system to perform operationsaccording to the techniques described herein. Computer-readable mediacan include any mechanism that stores information in a form accessibleby a data processing device such as a computer, network device, tablet,smartphone, or any device having similar functionality. Examples ofcomputer-readable media include any type of tangible article ofmanufacture capable of storing information thereon including floppydisks, hard drive disks (“HDDs”), solid-state devices (“SSDs”) or otherflash memory, optical disks, digital video disks (“DVDs”), CD-ROMs,magnetic-optical disks, ROMs, RAMs, erasable programmable read onlymemory (“EPROMs”), electrically erasable programmable read only memory(“EEPROMs”), magnetic or optical cards, or any other type of mediasuitable for storing instructions in an electronic format.Computer-readable media can also be distributed over a network-coupledcomputer system stored and executed in a distributed fashion.

Throughout the foregoing description, for the purposes of explanation,numerous specific details were set forth in order to provide a thoroughunderstanding of the invention. It will be apparent, however, to personsskilled in the art that these embodiments may be practiced without someof these specific details. Although various embodiments incorporatingthe teachings of the present invention have been shown and described indetail herein, those skilled in the art can readily devise many othervaried embodiments that still incorporate these techniques. Embodimentsof the invention may include various operations as set forth above orfewer operations or more operations; or operations in an order, which isdifferent from the order described herein. Accordingly, the scope andspirit of the invention should be judged in terms of the claims thatfollow as well as the legal equivalents thereof.

1.-22. (canceled)
 23. A computer-implemented method, comprising:obtaining, at a remote capture agent, configuration information from aconfiguration server over a network; generating, based on theconfiguration information, event data based on network data monitored bythe remote capture agent; transforming the event data into transformedevent data, the transformed event data based on a data format used by astorage destination indicated by the configuration information; andsending the transformed event data to the storage destination.
 24. Thecomputer-implemented method of claim 23, further comprising providing anevent stream comprising the transformed event data to one or moretransformation servers for further transformation of the transformedevent data by the one or more transformation servers.
 25. Thecomputer-implemented method of claim 23, further comprising, uponreceiving an update to the configuration information from theconfiguration server, using the update to reconfigure the transformationof the event data or the network data by the remote capture agent duringruntime of the remote capture agent.
 26. The computer-implemented methodof claim 23, wherein generation of the event data from the network datacomprises, upon identifying one or more network packets in a networkpacket stream, using the network data from the one or more networkpackets to generate the event data.
 27. The computer-implemented methodof claim 23, further comprising transforming the event data using atleast one of an aggregation, a calculation, a filter, a normalization,and a formatting.
 28. The computer-implemented method of claim 23,wherein transformation of the event data further comprises: obtaining atime interval associated with aggregation of the event data or thenetwork data; and aggregating the event data or the network data withinthe time interval into at least one of an event count, a statistic, anda uniqueness count.
 29. The computer-implemented method of claim 23,wherein the configuration information is provided to the configurationserver by an application used to access the transformed event data. 30.The computer-implemented method of claim 23, wherein the configurationinformation comprises at least one of an identifier of an event streamto include the event data, a description of the event stream, an eventstream type associated with the event stream, and a custom field to beincluded in the event data.
 31. The computer-implemented method of claim23, wherein the remote capture agent is installed in a virtual computingenvironment.
 32. The computer-implemented method of claim 23, whereinthe remote capture agent monitors network traffic in a cloud-basednetwork.
 33. The computer-implemented method of claim 23, wherein thestorage destination includes a database table, and wherein sending thetransformed event data to the storage destination includes using adatabase plugin to store the event data in the database table.
 34. Thecomputer-implemented method of claim 23, wherein the storage destinationis an external service, and wherein sending the transformed event datato the storage destination includes converting the event data into HTTPrequests received by the external service.
 35. The computer-implementedmethod of claim 23, wherein the storage destination is a log file, andwherein sending the transformed event data to the storage destinationincludes using a codec to store the event data in the log file.
 36. Thecomputer-implemented method of claim 23, wherein the transformation ofthe event data further comprises: identifying a network address in theevent data; identifying related data in a lookup table based on theidentified network address; and including the related data in thetransformed event data.
 37. A non-transitory computer-readable storagemedium storing instructions which, when executed by one or moreprocessors, cause performance of operations comprising: obtaining, at aremote capture agent, configuration information from a configurationserver over a network; generating, based on the configurationinformation, event data based on network data monitored by the remotecapture agent; transforming the event data into transformed event data,the transformed event data based on a data format used by a storagedestination indicated by the configuration information; and sending thetransformed event data to the storage destination.
 38. Thenon-transitory computer-readable storage medium of claim 37, furthercomprising providing an event stream comprising the transformed eventdata to one or more transformation servers for further transformation ofthe transformed event data by the one or more transformation servers.39. The non-transitory computer-readable storage medium of claim 37,wherein transformation of the event data further comprises: obtaining atime interval associated with aggregation of the event data or thenetwork data; and aggregating the event data or the network data withinthe time interval into at least one of an event count, a statistic, anda uniqueness count.
 40. The non-transitory computer-readable storagemedium of claim 37, wherein the configuration information is provided tothe configuration server by an application used to access thetransformed event data.
 41. The non-transitory computer-readable storagemedium of claim 37, wherein the remote capture agent monitors networktraffic in a cloud-based network.
 42. The non-transitorycomputer-readable storage medium of claim 37, wherein the storagedestination includes a database table, and wherein sending thetransformed event data to the storage destination includes using adatabase plugin to store the event data in the database table.
 43. Thenon-transitory computer-readable storage medium of claim 37, wherein thestorage destination is an external service, and wherein sending thetransformed event data to the storage destination includes convertingthe event data into HTTP requests received by the external service. 44.The non-transitory computer-readable storage medium of claim 37, whereinthe storage destination is a log file, and wherein sending thetransformed event data to the storage destination includes using a codecto store the event data in the log file.
 45. An apparatus, comprising:one or more processors; a non-transitory computer-readable storagemedium storing instructions which, when executed by the one or moreprocessors, causes the apparatus to: obtain, at a remote capture agent,configuration information from a configuration server over a network;generate, based on the configuration information, event data based onnetwork data monitored by the remote capture agent; transform the eventdata into transformed event data, the transformed event data based on adata format used by a storage destination indicated by the configurationinformation; and send the transformed event data to the storagedestination.
 46. The apparatus of claim 45, wherein the instructions,when executed by the one or more processors, further causes theapparatus to provide an event stream comprising the transformed eventdata to one or more transformation servers for further transformation ofthe transformed event data by the one or more transformation servers.47. The apparatus of claim 45, wherein transformation of the event datafurther comprises: obtaining a time interval associated with aggregationof the event data or the network data; and aggregating the event data orthe network data within the time interval into at least one of an eventcount, a statistic, and a uniqueness count.
 48. The apparatus of claim45, wherein the configuration information is provided to theconfiguration server by an application used to access the transformedevent data.
 49. The apparatus of claim 45, wherein the remote captureagent monitors network traffic in a cloud-based network.
 50. Theapparatus of claim 45, wherein the storage destination includes adatabase table, and wherein sending the transformed event data to thestorage destination includes using a database plugin to store the eventdata in the database table.
 51. The apparatus of claim 45, wherein thestorage destination is an external service, and wherein sending thetransformed event data to the storage destination includes convertingthe event data into HTTP requests received by the external service. 52.The apparatus of claim 45, wherein the storage destination is a logfile, and wherein sending the transformed event data to the storagedestination includes using a codec to store the event data in the logfile.